package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("member_apply_supplier")
@ApiModel(value="MemberApplySupplierEntity对象", description="")
public class MemberApplySupplierEntity extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;
    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private String memberId;

    @Column(comment = "店铺logo")
    @ApiModelProperty(value = "店铺logo")
    private String logoUrl;

    @Column(comment = "供应商名称")
    @ApiModelProperty(value = "供应商名称")
    private String name;

    @Column(comment = "店铺介绍")
    @ApiModelProperty(value = "店铺介绍")
    private String remark;

    @Column(comment = "省市code")
    @ApiModelProperty(value = "省市")
    private String provinceCode;

    @Column(comment = "省市名称")
    @TableField(exist = false)
    private String provinceName;

    @Column(comment = "城市code")
    @ApiModelProperty(value = "城市")
    private String cityCode;

    @Column(comment = "城市名称")
    @TableField(exist = false)
    @ApiModelProperty(value = "城市名称")
    private String cityName;

    @Column(comment = "区县cde")
    @ApiModelProperty(value = "区县编码")
    private String areaCode;

    @Column(comment = "区县名称")
    @TableField(exist = false)
    @ApiModelProperty(value = "区县名称")
    private String areaName;

    @Column(comment = "地址")
    @ApiModelProperty(value = "地址")
    private String address;

    @Column(comment = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contacts;

    @Column(comment = "联系人手机号")
    @ApiModelProperty(value = "联系人手机号")
    private String mobile;

    @Column(comment = "登录用户名")
    @ApiModelProperty(value = "登录用户名")
    private String adminUsername;

    @Column(comment = "提现手续费率")
    @ApiModelProperty(value = "提现手续费率")
    private Double withdrawRate;

    @Column(comment = "证件1")
    @ApiModelProperty(value = "证件1")
    private String cert1Url;

    @Column(comment = "证件2")
    @ApiModelProperty(value = "证件2")
    private String cert2Url;

    @Column(comment = "证件3")
    @ApiModelProperty(value = "证件3")
    private String cert3Url;

    @Column(comment = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @Column(comment = "修改时间")
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;




}
